package com.itrip.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itrip.entity.ItripComment;
import com.itrip.entity.ItripImage;
import com.itrip.vo.comment.ItripCountCommentVO;
import com.itrip.vo.comment.ItripListCommentVO;
import com.itrip.vo.comment.ItripScoreCommentVO;
import com.itrip.vo.comment.ItripSearchCommentVO;

import java.util.List;

public interface ItripCommentService extends IService<ItripComment>{
    //查询评分
    public ItripScoreCommentVO itripScoreCommentVo(Long hotelId);
    //查询评论数
    public ItripCountCommentVO itripCountCommentVO(Long cityId);
    //查询评论列表
    public List<ItripListCommentVO> getlistComment(ItripSearchCommentVO itripSearchCommentVO);
    //新增评论
    public boolean itriptxAddItripComment(ItripComment obj, List<ItripImage> itripImages)throws Exception;

}
